test.exe:test.cc
	g++ -o $@ $^ -lpthread
clean:
	rm test.exe